﻿//宏定义
#define NN 100

//结构体声明

struct student//学生信息结构体
{
	unsigned int i_id;
	char s_Name[20];
	char s_sex[6];
	float f_hwGrade;
	float f_testGrade;
	float f_totalGrade;
	char from[50];
};
struct from//生源地结构体
{
	char s_Name[20];
	int i_num[NN];
	float aver;
	int num;
	int e;
};

//函数声明
void StruToStr(struct student stu, char* str);
void StrToStru(struct student* stu, char* s);
unsigned char menu();
void Change(struct student* stu, int* i);
void Load(struct student* stu, int* i);
void Fout(struct student* stu, int* i);
void Display(struct student* stu, int* i);
void DuanDis(struct student* stu, int* i);
void MaxMin(struct student* stu, int* i);
void Avera(struct student* stu, int* i);
void IfZtfb(struct student* stu, int* i);
void FromDis(struct student* stu, int* i);
